#!/bin/bash
# 官方镜像启动可能初始化数据失败，使用postgres:17-bullseye部署
docker run -d -p 5432:5432  -e POSTGRES_PASSWORD=Postgres@2024#! --name postgres postgres:17-bullseye
# psql -U postgres -h localhost -p 5432 -d postgres
# CREATE DATABASE mydatabase;
# CREATE DATABASE "zion-platform-210";
# SELECT datname FROM pg_database;